
import java.io.IOException;

//import javax.Servlet.*;
//import javax.io.*;
import javax.servlet.Servlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class Servlet1 implements Servlet
{
	public static void main(ServletConfig config) throws ServletException 
	{
		System.out.println("inside init method");
	}
	public void Service(ServletRequest req, ServletResponse res) throws ServletException,IOException
	{
		System.out.println("inside service method");
	}
	public void destroy()
	{
		System.out.println("inside destroy method");
	}
	public ServletConfig getServletConfig()
	{
		ServletConfig config=null;
		System.out.println("nside getServletConfig method");
		return config;
	}
	public String getServletInfo()
	{
		System.out.println("nside getServletInfo method");
		return "Srvlet";
	}
}
